package org.puremvc.as3.multicore.core
{
	import org.puremvc.as3.multicore.interfaces.IMessage;
	
	public class MessagingConnector
	{
		private var _receiver:Function = null;
		
		public function MessagingConnector(receiver:Function)
		{
			_receiver = receiver;
		}

		public function send(message:IMessage):void {
			if (_receiver != null) 
				_receiver(message);
		}

	}
}